home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
LCLINT2.SPK
/
test
/
Makefile
next >
Wrap
Makefile
|
1996-11-12
|
997b
|
73 lines
# makefile to test lclint using test suite provided
# derived from makefile supplied
CLIBS = -IC:ansi
LCLINT = lclint
LCLINTR = $(LCLINT) -nof -hints
INTEGTESTS = db1 db2 db3
DIFF = diff
.IGNORE:
fulltest:
@-echo
@-echo Testing $(LCLINT)
@-echo
@-echo Version:
@-echo
@$(LCLINT) -help version
@$(LCLINT) -help vars
@-echo
@-echo Unit Tests:
@-echo
@-amu unittests_a
@-amu unittests_b
@-echo
@-echo Integration Tests
@-echo
@-amu integtests
###
### Unit Tests
###
unittests_a:
dir test_a
@-amu
up
unittests_b:
dir test_b
@-amu
up
###
### Integration Tests
###
integtests:
dir test_a
@-amu -f ^.makefile $(INTEGTESTS)
up
db1:
dir db1 ; @-amu check ; up
db2:
dir db2 ; @-amu check ; up
db3:
dir db3 ; @-amu check ; up
###
### More integration tests are used locally. If you are developing
### LCLint send mail to evs@larch.lcs.mit.edu to obtain extra
### integration test cases.
clean:
dir test_a ; @-amu clean ; up
dir test_b ; @-amu clean ; up